body {
    padding-top: 70px;  /* 增加顶部内边距以适应固定导航栏 */
    background-color: #f8f9fa;
}

/* 导航栏样式 */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.25rem;
}

.nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    background-color: rgba(255, 255, 255, 0.15);
}

/* 右侧导航标签样式 */
.navbar-nav .nav-item {
    margin-left: 0.5rem;
}

.navbar-nav .nav-link {
    display: flex;
    align-items: center;
}

/* 卡片和其他原有样式保持不变 */
.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

.card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-header {
    background-color: #b5c5eef4;
    color: white;
}

h1 {
    color: #0d6efd;
    font-weight: bold;
}

h2, h3, h4 {
    color: #212529;
    display: block !important;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* 上传区域样式 */
#uploadArea {
    border: 2px dashed #ccc;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1rem;
    border-radius: 0.25rem;
    transition: all 0.3s;
}

#uploadArea:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}

/* 预览表格样式 */
#previewContent table {
    font-size: 0.9rem;
}

#previewContent th {
    background-color: #f8f9fa;
}

/* 进度条动画 */
.progress-bar-animated {
    animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
    0% { background-position-x: 1rem; }
}

/* 响应式调整 */
@media (max-width: 992px) {
    .navbar-nav .nav-item {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}